package com.omar.labs.tamtamy.XML;

import java.util.ArrayList;

import com.omar.labs.tamtamy.GroupList;
import com.omar.labs.tamtamy.utils.XMLUtility;

public class XMLGroupList extends GroupList {

	public XMLGroupList(String xml){
		super();
		ArrayList<String> v = XMLUtility.getNodesValue(xml, "it.reply.tt.rest.entity.KcLGroup");
		for(int i=0; i<v.size(); i++){
			String tmp = v.get(i);
			XMLGroup tmpCont = new XMLGroup(tmp);
			this.add(tmpCont);  
		}			
	}
}
